From 053c801a8c43688c2c4eec6800368898a81bfc39 Mon Sep 17 00:00:00 2001
From: trisusilo48 <tri.susilo@altama.co.id>
Date: Thu, 31 Oct 2024 16:55:07 +0700
Subject: integrasi google maps service

---
 src/pages/my/address/[id]/edit.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/pages/my/address/[id]/edit.jsx')

diff --git a/src/pages/my/address/[id]/edit.jsx b/src/pages/my/address/[id]/edit.jsx
index fdae8bb6..26cde5e1 100644
--- a/src/pages/my/address/[id]/edit.jsx
+++ b/src/pages/my/address/[id]/edit.jsx
@@ -47,7 +47,7 @@ export async function getServerSideProps(context) {
     business_name: '',
     longtitude: address?.longtitude || 0,
     latitude: address?.latitude || 0,
-    address_maps: address?.address_maps ? JSON.stringify(address?.addressMaps) : '',
+    addressMap: address?.address_map || '',
 
   };
   return { props: { id, defaultValues } };
-- 
cgit v1.2.3

